package org.sakai.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.sakai.entity.Consult;
import org.sakai.entity.dto.ConsultRequestDto;
import org.sakai.entity.vo.ConsultVO;

import java.util.List;

/**
* @author Sakai
* @description 针对表【consult(问诊记录表)】的数据库操作Mapper
* @createDate 2025-06-21 12:52:08
* @Entity org.sakai.entity.Consult
*/
@Mapper
public interface ConsultMapper {

    int deleteByPrimaryKey(String id);

    int insert(Consult record);

    int insertSelective(Consult record);

    Consult selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(Consult record);

    int updateByPrimaryKey(Consult record);


    List<ConsultVO> getConsultOrderListByUserId(ConsultRequestDto consultRequestDto);

}
